<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".PlanInfoActivity"
    android:background="@drawable/gradient_plan_1"
    android:id="@+id/mainPlan2">

    <eightbitlab.com.blurview.BlurView
        android:id="@+id/cardView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="8dp"
        app:cardBackgroundColor="#00FFFFFF"
        app:cardCornerRadius="10dp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/planInfo_name"
        android:background="@drawable/rounded_rectangle_01">


        <TextView
            android:id="@+id/planInfo_time"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="8dp"
            android:fontFamily="@font/tt_travels_extra_bold"
            android:letterSpacing="0.1"
            android:text="00 месяц 0000 | 00:00"
            android:textColor="#FFFFFF"
            android:textSize="15sp" />
    </eightbitlab.com.blurview.BlurView>

    <LinearLayout
        android:id="@+id/linearLayout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:padding="4dp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <ImageButton
            android:id="@+id/planInfo_back"
            android:layout_width="40dp"
            android:layout_height="40dp"
            android:scaleType="centerCrop"
            android:background="#00000000"
            android:src="@drawable/plan_back"
            android:layout_margin="8dp"/>

        <TextView
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="План"
            android:textAllCaps="true"
            android:textColor="#FFFFFF"
            android:textSize="26sp"
            android:fontFamily="@font/tt_ravels_extra_bold_italic"
            android:letterSpacing="0.1"
            android:gravity="center"
            android:layout_margin="15dp"/>

        <Space
            android:layout_width="40dp"
            android:layout_height="40dp"
            android:background="#00000000"
            android:scaleType="centerCrop"
            android:layout_margin="8dp"/>

    </LinearLayout>

    <TextView
        android:id="@+id/planInfo_name"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="32dp"
        android:text="План"
        android:textColor="#FFFFFF"
        android:textSize="23sp"
        android:fontFamily="@font/tt_travels_extra_bold"
        android:letterSpacing="0.1"
        android:gravity="center"
        android:layout_margin="8dp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/linearLayout" />

    <eightbitlab.com.blurview.BlurView
        android:id="@+id/blurView"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_margin="8dp"
        android:orientation="vertical"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintEnd_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/cardView"
        android:background="@drawable/rounded_rectangle_01">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_margin="8dp"
        android:orientation="vertical"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintEnd_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/cardView">


        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:padding="8dp"
            android:text="Описание:"
            android:fontFamily="@font/tt_travels_bold"
            android:letterSpacing="0.1"
            android:textColor="#FFFFFF"
            android:textSize="16sp" />

        <ScrollView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_margin="8dp">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical">

                <TextView
                    android:id="@+id/planInfo_description"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:text="текст"
                    android:fontFamily="@font/tt_travels_bold"
                    android:letterSpacing="0.1"
                    android:textColor="#FFFFFF"
                    android:textSize="16sp" />
            </LinearLayout>
        </ScrollView>
    </LinearLayout>
    </eightbitlab.com.blurview.BlurView>

    <CheckBox
        android:id="@+id/planInfo_checkBox"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="-45dp"
        android:layout_marginRight="20dp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="@id/blurView"
        android:buttonTint="@color/white"/>
</androidx.constraintlayout.widget.ConstraintLayout>